<template>
  <div class="back" @click="backPage">
    <i class="el-icon-back"></i>
    返回
  </div>
</template>

<script>
export default {
  name: "viewsHead",
  data() {
    return {};
  },
  methods: {
    backPage() {
      this.$router.go(-1);
    },
  },
};
</script>

<style scoped lang="scss">
.back {
  font-size: 16px;
  display: inline-block;
  margin-bottom: 14px;
  cursor: pointer;
  font-weight: bold;
}
</style>
